package com.lh.pattern.chainresponsiblity;
/**  
 * 这个对象处理11-20数字的请求  
 * @author Administrator  
 *  
 */  
public class HandleRequestObject2 extends AbstractRequest {  
  
    @Override  
    public void HandleRequest(int request) {  
        if(request>10&&request<=20){  
            System.out.println("Request次数："+request+" 是由类：HandleRequestObject2 调用");  
        }else{  
            this.getAbstractRequest().HandleRequest(request);  
        }  
    }  
  
}  